<%--
  Created by IntelliJ IDEA.
  User: 11382
  Date: 2022/3/29
  Time: 22:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注销登录</title>
</head>
<body>
<%
    session.invalidate();//session失效
    response.sendRedirect("/user/login");
    //session.removeAttribute("uname");//部分失效
%>
</body>
</html>